<template>
  <div id="app">
    <!-- <RouterView></RouterView> -->
    <router-view />
    <van-tabbar route>
      <van-tabbar-item replace to="/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/category" icon="apps-o">分类</van-tabbar-item>
      <van-tabbar-item replace to="/worthtobuy" icon="bag-o">值得买</van-tabbar-item>
      <van-tabbar-item replace to="/shopcart" icon="shopping-cart-o">购物车</van-tabbar-item>
      <van-tabbar-item replace to="/center" icon="user-circle-o">个人</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  name: 'App'
})
</script>
<script lang="ts" setup></script>

<style lang="less" scoped>
#app {
  width: 375px;
}
</style>
